package StudyCode.summary.mycollection;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class ReturnsADeepCloneOfA2DBooleanArray {
	public static boolean[][] deepClone(boolean[][] src) {
		assert (src != null);
		boolean[][] dest = new boolean[src.length][];
		for (int i = 0; i < src.length; i++) {
			dest[i] = src[i].clone();
		}
		return dest;
	}
}
